package com.xjgzinfo.usdp.service.mapper;


import com.xjgzinfo.usdp.domain.BladeVisualRecord;
import com.xjgzinfo.usdp.service.dto.BladeVisualRecordDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity {@link BladeVisualRecord} and its DTO {@link BladeVisualRecordDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface BladeVisualRecordMapper extends EntityMapper<BladeVisualRecordDTO, BladeVisualRecord> {


    default BladeVisualRecord fromId(Long id) {
        if (id == null) {
            return null;
        }
        BladeVisualRecord bladeVisualRecord = new BladeVisualRecord();
        bladeVisualRecord.setId(id);
        return bladeVisualRecord;
    }
}
